/**
 * 
 */
package cn.iwoo.svn.util;

import java.io.File;

import org.tigris.subversion.svnclientadapter.ISVNNotifyListener;
import org.tigris.subversion.svnclientadapter.SVNNodeKind;

/**
 * @author lggege
 */
public class SVNNotifyListener implements ISVNNotifyListener {
	public void setCommand(int cmd) {
	}

	public void logMessage(String message) {
		System.out.println("Message :" + message);
	}

	public void logCommandLine(String message) {
		System.out.println("CommandLine :" + message);
	}

	public void logError(String message) {
		System.out.println("Error :" + message);
	}

	public void logRevision(long revision, String path) {
		System.out.println("Revision :" + revision);
	}

	public void logCompleted(String message) {
		System.out.println("Completed :" + message);
	}

	public void onNotify(File path, SVNNodeKind nodeKind) {
		System.out.println("Status of " + path.toString() + " has changed");
	}
}